const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roleName: state => state.user.roleName,
  staffCode: state => state.user.staffCode,
  staffName: state => state.user.staffName,
  staffPhone: state => state.user.staffPhone,
  companyId: state => state.user.companyId,
  branchId: state => state.user.branchId,
  companyName: state => state.user.companyName,
  branchName: state => state.user.branchName,
  isRetrofitting: state => state.user.isRetrofitting, //选装包是开启  1:开启 2:关闭
  isDescribe: state => state.user.isDescribe, //DCC描述 1:开启 2:关闭
  roles: state => state.user.roles,
  menuList: state => state.user.menuList,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  language: state => state.app.language, //自定义语种标识 zh-CN:中 en-US:英 ru:俄 qt:乌
  languageId: state => state.app.languageId, //固定语种ID  1:中文  2:英文 3:俄文 4:乌语 //接口返回
  languageList: state => state.app.languageList ////语言list
}
export default getters
